#!/usr/bin/env bash
set -euo pipefail

if git show --pretty="" --name-only HEAD | grep -q VERSION; then
  git tag --annotate --message="Release v$(cat VERSION)." "v$(cat VERSION)"
fi
